package com.example.studentmanagement2.service;

import com.example.studentmanagement2.model.Student;
import com.example.studentmanagement2.model.Student;

import java.util.List;
import java.util.Optional;

public interface StudentService {
    List<Student> getAllStudents();
    Optional<Student> getStudentById(String id);
    Student addStudent(Student student);
    Student updateStudent(String originalId,Student student);
    void deleteStudent(String id);
    List<Student> searchStudents(String keyword);

    List<String> findDistinctClasses();
}